import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const StartPage = ()=>import('@/views/start.vue')  // 开始页面
const Index = ()=>import('@/views/index.vue')  // 操作页面

const routes = [
  { path: '/', name: 'StartPage', component: StartPage },
  { path: '/index', name: 'Index', component: Index },
]

const router = new VueRouter({
  routes
})

export default router
